exports.dungeons = {
    "bwj": [
        // {name :"点击冒险图标", type: "match-click", args: {templates: ["dungeons/common/mxan"], bounds: [0.7, 1, 0.8, 1]}},
        // {name :"点击冒险奖励图标", type: "match-click", args: {templates: ["dungeons/common/mxjl"], bounds: [0.8, 1, 0.65, 1]}},
        // {name :"点击冒险级标签", type: "match-click", args: {templates: ["dungeons/common/mxjxz", "dungeons/common/mxjwxz"], bounds: [0.2, 0.5, 0.2, 0.4]}},
        // {name :"点击万年雪山", type: "match-click", args: {templates: ["dungeons/common/wnxs"], bounds: [0, 0.4, 0.3, 0.6]}},
        // {name :"点击区域移动", type: "match-click", args: {templates: ["dungeons/common/qyyd"], bounds: [0.7, 0.9, 0.55, 0.75]}},
        // {name :"点击布万家修炼场", type: "match-click", args: {templates: ["dungeons/common/bwjxlc"], bounds: [0.6, 0.85, 0.65, 0.9]}},
        // {name :"点击开始", type: "match-click", args: {templates: ["dungeons/common/zdks"], bounds: [0.7, 1, 0.75, 1]}},
        {type: "game-detect", name: "游戏检测"},
        //{type: "black-screen-detect", name: "黑屏检测", interval: 200}
        // {name :"点击设置按钮1", type: "match-click", args: {templates: ["common/setting"], bounds: [0.85, 1, 0.15, 0.3]}},
        // {name :"点击切换角色按钮1", type: "match-click", args: {templates: ["common/switch-character"], bounds: [0.5, 0.7, 0.75, 1]}},
        // {name :"点击角色边框1", type: "switch-character", args: {templates: ["common/character-border-empty", "common/character-border-new"], bounds: [0, 0.3, 0.05, 0.3]}},
        // {name :"点击开始游戏按钮1", type: "match-click", args: {templates: ["common/start-game-btn"], bounds: [0.35, 0.75, 0.8, 1]}},

        // {name :"点击设置按钮2", type: "match-click", args: {templates: ["common/setting"], bounds: [0.85, 1, 0.15, 0.3]}},
        // {name :"点击切换角色按钮2", type: "match-click", args: {templates: ["common/switch-character"], bounds: [0.5, 0.7, 0.75, 1]}},
        // {name :"点击角色边框2", type: "switch-character", args: {templates: ["common/character-border-empty", "common/character-border-new"], bounds: [0, 0.3, 0.05, 0.3]}},
        // {name :"点击开始游戏按钮2", type: "match-click", args: {templates: ["common/start-game-btn"], bounds: [0.35, 0.75, 0.8, 1]}},
        
        // {name :"点击设置按钮3", type: "match-click", args: {templates: ["common/setting"], bounds: [0.85, 1, 0.15, 0.3]}},
        // {name :"点击切换角色按钮3", type: "match-click", args: {templates: ["common/switch-character"], bounds: [0.5, 0.7, 0.75, 1]}},
        // {name :"点击角色边框3", type: "switch-character", args: {templates: ["common/character-border-empty", "common/character-border-new"], bounds: [0, 0.3, 0.05, 0.3]}},
        // {name :"点击开始游戏按钮3", type: "match-click", args: {templates: ["common/start-game-btn"], bounds: [0.35, 0.75, 0.8, 1]}},
        
        // {name :"点击设置按钮4", type: "match-click", args: {templates: ["common/setting"], bounds: [0.85, 1, 0.15, 0.3]}},
        // {name :"点击切换角色按钮4", type: "match-click", args: {templates: ["common/switch-character"], bounds: [0.5, 0.7, 0.75, 1]}},
        // {name :"点击角色边框4", type: "switch-character", args: {templates: ["common/character-border-empty", "common/character-border-new"], bounds: [0, 0.3, 0.05, 0.3]}},
        // {name :"点击开始游戏按钮4", type: "match-click", args: {templates: ["common/start-game-btn"], bounds: [0.35, 0.75, 0.8, 1]}},
        
        // {name :"点击设置按钮5", type: "match-click", args: {templates: ["common/setting"], bounds: [0.85, 1, 0.15, 0.3]}},
        // {name :"点击切换角色按钮5", type: "match-click", args: {templates: ["common/switch-character"], bounds: [0.5, 0.7, 0.75, 1]}},
        // {name :"点击角色边框5", type: "switch-character", args: {templates: ["common/character-border-empty", "common/character-border-new"], bounds: [0, 0.3, 0.05, 0.3]}},
        // {name :"点击开始游戏按钮5", type: "match-click", args: {templates: ["common/start-game-btn"], bounds: [0.35, 0.75, 0.8, 1]}},
    ]
}
exports.rocker = {type: "match_cache", label: "操作杆", template: "common/rocker", bounds: [0, 0.4, 0.5, 1]}

exports.skills = {
    "berserker": 
    {
        1: {
            label: "普通攻击",
            cooling: 0,
            press: 800,
            cast: 50,
            scope: 50
        },
        2: {
            label: "十字斩",
            cooling: 4000,
            press: 50,
            cast: 200,
            scope: 50
        },
        3: {
            label: "崩山击",
            cooling: 5000,
            press: 0,  
            cast: 600,
            scope: 200
        },
        4: {
            label: "愤怒狂刃",
            cooling: 20000,
            press: 0,
            cast: 1000,
            scope: 50
        },
        5: {
            label: "捕梦之手",
            cooling: 9100,
            press: 0,
            cast: 300,
            scope: 50
        },
        6: {
            label: "怒气爆发",
            cooling: 20000,
            press: 0,
            cast: 200,
            scope: 0
        },
        7: {
            label: "绝念除尘击",
            cooling: 20000,
            press: 3000,
            cast: 600,
        },
        8: {
            label: "爆发之刃",
            cooling: 20000,
            press: 0,
            cast: 400,
            scope: 200
        },
        9: {
            label: "暴走",
            cooling: 5000,
            press: 0,
            cast: 50,
            scope: 100
        },
        10: {
            label: "愤怒",
            cooling: 60000,
            press: 300,
            cast: 50,
            scope: 100
        },
        11: {
            label: "崩山裂地",
            cooling: 40000,
            press: 0,
            cast: 600,
            scope: 200
        },
        12: {
            label: "暗狱魔刹",
            cooling: 145000,
            press: 0,
            cast: 200
        }
    },
    axl: {
        1: {
            label: "普通攻击",
            cooling: 0,
            press: 800,
            cast: 50,
            scope: 50
        },
        2: {
            label: "波动剑",
            cooling: 5000,
            press: 50,
            times: 2,
            cast: 100,
            scope: 50
        },
        3: {
            label: "邪光斩",
            cooling: 5000,
            press: 300,  
            cast: 400,
            scope: 200
        },
        4: {
            label: "波动爆发",
            cooling: 7000,
            press: 50,
            cast: 200,
            scope: 50
        },
        5: {
            label: "邪光波动阵",
            cooling: 20000,
            press: 50,
            cast: 500,
            scope: 50
        },
        6: {
            label: "冰刃波动剑",
            cooling: 10000,
            press: 50,
            cast: 200,
            scope: 0
        },
        7: {
            label: "爆炎波动剑",
            cooling: 20000,
            press: 50,
            cast: 200,
        },
        8: {
            label: "无双波",
            cooling: 20000,
            press: 2000,
            cast: 2000,
            scope: 200
        },
        9: {
            label: "裂波",
            cooling: 10000,
            press: 50,
            cast: 600,
            scope: 0
        },
        10: {
            label: "无尽波动",
            cooling: 1000000,
            press: 50,
            cast: 50,
            scope: 0
        },
        11: {
            label: "不动明王",
            cooling: 40000,
            press: 50,
            cast: 5000,
            scope: 200
        },
        12: {
            label: "暗天波动眼",
            cooling: 20000,
            press: 50,
            cast: 200
        }
    },
    "md": 
    {
        1: {
            label: "普通攻击",
            cooling: 0,
            press: 800,
            cast: 50,
            scope: 50
        },
        2: {
            label: "改良魔法星弹",
            cooling: 5000,
            press: 50,
            cast: 200,
            scope: 50
        },
        3: {
            label: "魔道酸雨云",
            cooling: 10000,
            press: 20,  
            cast: 200,
            scope: 200
        },
        4: {
            label: "反重力装置",
            cooling: 20000,
            press: 20,
            cast: 500,
            scope: 50
        },
        5: {
            label: "熔岩药瓶",
            cooling: 20000,
            press: 20,
            cast: 200,
            scope: 50
        },
        6: {
            label: "爆炎加热炉",
            cooling: 20000,
            press: 20,
            cast: 3000,
            scope: 0
        },
        7: {
            label: "旋转扫把",
            cooling: 20000,
            press: 2000,
            cast: 600,
        },
        8: {
            label: "变异苍蝇拍",
            cooling: 7000,
            press: 20,
            cast: 500,
            scope: 200
        },
        9: {
            label: "圆舞棍",
            cooling: 5000,
            press: 20,
            cast: 200,
            scope: 100
        },
        10: {
            label: "幸运棒棒糖",
            cooling: 5000,
            press: 20,
            cast: 50,
            scope: 100
        },
        11: {
            label: "电鳗碰撞机",
            cooling: 20000,
            press: 20,
            cast: 4000,
            scope: 200
        },
        12: {
            label: "技艺融合",
            cooling: 145000,
            press: 20,
            cast: 5000
        }
    }
}
exports.template = {
    "common/rocker": {
        label: "操作杆",
        bounds: [0, 0.4, 0.5, 1]
    },
    "role/berserker/1": {
        label: "普通攻击",
        bounds: [0.5, 1, 0.6, 1]
    },
    "role/berserker/2": {
        label: "十字斩",
        bounds: [0.5, 1, 0.6, 1]
    },
    "role/berserker/3": {
        label: "崩山击",
        bounds: [0, 1, 0, 1]
    },
    "role/berserker/4": {
        label: "愤怒狂刃",
        bounds: [0.5, 1, 0.6, 1]
    },
    "role/berserker/5": {
        label: "捕梦之手",
        bounds: [0.5, 1, 0.6, 1]
    },
    "role/berserker/6": {
        label: "怒气爆发",
        bounds: [0.5, 1, 0.6, 1]
    },
    "role/berserker/7": {
        label: "绝念除尘击",
        bounds: [0.5, 1, 0.6, 1]
    },
    "role/berserker/8": {
        label: "爆发之刃",
        bounds: [0.5, 1, 0.6, 1]
    },
    "role/berserker/9": {
        label: "暴走",
        bounds: [0, 1, 0, 1]
    },
    "role/berserker/10": {
        label: "愤怒",
        bounds: [0, 1, 0, 1]
    },
    "role/berserker/11": {
        label: "崩山裂地",
        bounds: [0, 1, 0, 1]
    },
    "role/berserker/12": {
        label: "暗狱魔刹",
        bounds: [0, 1, 0, 1]
    } 
}
exports.attack = {
    "berserker": [
        ["5", "2", "10", "9", "1"],
        ["8", "2", "1"],
        ["7", "2", "5", "1"],
        ["4", "2", "5", "1"],
        ["6", "5", "2", "1"],
        ["8", "2", "5", "1"],
        ["7", "2", "5", "1"],
        ["11", "2", "5", "4", "1"]    
    ],
    "axl": [
        ["10", "4", "3", "2", "1"],
        ["3", "6", "4", "1"],
        ["4", "2", "3", "1"],
        ["5", "7", "3", "1"],
        ["8", "4", "1", "1"],
        ["4", "3", "1"],
        ["7", "2", "4", "1"],
        ["11", "4", "6", "7", "1"]    
    ],
    "md": [
        ["3", "10", "8", "2", "1"],
        ["3", "10", "8", "2", "1"],
        ["3", "10", "8", "2", "1"],
        ["3", "10", "8", "2", "1"],
        ["3", "10", "8", "2", "1"],
        ["3", "10", "8", "2", "1"],
        ["3", "10", "8", "2", "1"],
        ["11", "4", "8", "6", "7", "1"]    
    ]
}

exports.doors = [
    [0, 1, 0.5, 1],
    [0.7, 1, 0.2, 1],
    [0.6, 1, 0, 1],
    [0.4, 1, 0, 0.7],
    [0.4, 1, 0, 0.7],
]
exports.predefine = {
    "berserker": [
        {angle: 30, distance: 220, bufs:[10], skills:[3, 2, 1, 1]},
        {angle: 75, distance: 300, skills:[8, 2, 1]},
        {angle: 30, distance: 50, skills:[7, 2, 1]},
        {angle: 20, distance: 150, skills:[4, 2, 1]},
        {angle: 270, distance: 300, skills:[6, 2, 1]},
        {angle: 270, distance: 300, skills:[6, 2, 1]},
        {angle: 30, distance: 100, skills:[8, 2, 1]},
        {angle: 10, distance: 100, skills:[7, 3, 1]}
    ],
    "axl": [
        {angle: 30, distance: 220, bufs:[10], skills:[3, 2, 2, 1, 1]},
        {angle: 85, distance: 250, skills:[4, 6, 7, 1]},
        {angle: 30, distance: 100, skills:[4, 3, 2, 2, 1]},
        {angle: 20, distance: 60, skills:[5, 3, 2, 2, 1]},
        {angle: 270, distance: 300, skills:[8, 4, 1, 1]},
        {angle: 30, distance: 100, skills:[3, 7, 2, 1]},
        {angle: 30, distance: 100, skills:[3, 6, 2, 1]},
        {angle: 10, distance: 500, skills:[11, 4, 8, 2, 1]}
    ],
    "md": [
        {angle: 30, distance: 220, bufs:[10], skills:[3, 2, 9, 1, 1]},
        {angle: 85, distance: 250, skills:[5, 2, 8, 1]},
        {angle: 30, distance: 100, skills:[4, 3, 2, 8, 1]},
        {angle: 20, distance: 60, skills:[6, 7, 2, 8, 1]},
        {angle: 270, distance: 300, skills:[11, 2, 3, 1]},
        {angle: 30, distance: 100, skills:[5, 8, 2, 1]},
        {angle: 30, distance: 100, skills:[3, 7, 2, 1]},
        {angle: 10, distance: 500, skills:[11, 1]}
    ]
}